package com.jcfk.system.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jcfk.common.business.dao.BaseDao;
import com.jcfk.common.web.domain.DataPage;
import com.jcfk.system.domain.po.SysNoticeReadRecord;
import com.jcfk.system.domain.query.SysNoticeReadRecordQuery;
import com.jcfk.system.domain.dto.SysNoticeReadRecordDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
 * 通知阅读记录
 *
 * @author yrl
 * @email 
 * @date 2024-12-06
 */
@Repository
public interface SysNoticeReadRecordDao extends BaseDao<SysNoticeReadRecord> {
    /**
     * 通知阅读记录分页查询
     *
     * @param page
     * @param query
     * @return
     */
    DataPage<SysNoticeReadRecordDTO> queryByPage(@Param("page") DataPage<SysNoticeReadRecordDTO> page, @Param("query") SysNoticeReadRecordQuery query);

    /**
     * 通知阅读记录查询
     * @param qw 查询条件
     * @return 通知阅读记录查询
     */
    List<SysNoticeReadRecordDTO> queryList(@Param("ew") Wrapper<SysNoticeReadRecord> qw);
}
